import Vue from "vue";
import api from "~/api/"

var apiPlugin = {
  install(Vue) {
    Vue.prototype.$api = api;
  }
}

Vue.use(apiPlugin);

export default (ts, inject) => {
  ts.$api = api;
};
